<?php

//$url = file_get_contents('http://www.sdouya.com');

echo $url;
echo $_GET['p'];
print_r(json_decode('{"name":"luoqifang"}'));
$book = array('a'=>'xiyouji','b'=>'sanguo','c'=>'shuihu','d'=>'hongloumeng');
$json = json_encode($book);
echo $json->a;
$js = json_encode(new stu());
$j = json_decode($js);
echo $j->na;

class stu{
   
   public $na = 'zhangsan';
   public $age = 25;
}
$stu = new stu();
echo $stu->age;

echo $js;
?>